package com.common;

import com.soecode.wxtools.api.IService;
import com.soecode.wxtools.api.WxService;
import org.springframework.context.ApplicationContext;

/**
 * Created by lzb on 2017/11/9.
 */
public class Constant {
    //环境上下文
    public static ApplicationContext ctx;

    //集团ID
    public static final String GROUP_PROJCODE="4C132326-7C83-431D-AB61-DB9561C319F3";

    //正佳ID
    public static final String ZHENGJIA_PROJCODE="E2103BD8-01E2-4832-B480-81A8DF573128";

    //shiro-session name
    public static final String ShiroSession_NAME="shiro.sesssion";

    // hr镜像数据KEY
    public static final String R_HRIMAGE_KEY="HRIMAGE";

    //所有项目名称映射
    public static final String R_PROJNAME_KEY="projNames";

    //计算中的项目集合在redis的key
    public static final String R_CAL_PRO="R_CAL_PRO";

    //强制账期计算（将账期限定为一个值,如果设置了这个，记得跑完后手工删除）
    public static final String R_F_CYCLE="R_F_CYCLE";

    //付款方式
    public static final String PAYTYPE="PAYTYPE";

    //结佣阶段的条件判断
    public static final String RGBOOK="rgbook";//认购书
    public static final String YFK="YFK";//已放款
    public static final String AJHT="ajht";//按揭合同
    public static final String SPMMHT="spmmht";//商品买卖合同
    public static final String XGXY="xgxy";//限购协议
    public static final String ZSMMHT="zsmmht";//正式商品买卖合同
    public static final String SL="sl";//收楼
    public static final String DFK="dfk";//待放款
    public static final String SQ="sq";//首期交齐
    public static final String ZXK="zxk";//首笔装修款交齐

    public static IService iService = new WxService();

    public static String R_KEY_WLSTOCKCODE="R_KEY_WLSTOCKCODE";//涡轮的代码列表
}
